package com.business.dao;

import com.dong.web.annotation.Bean;
import com.dong.web.database.Connected;

@Bean("BusinessDao")
public class BusinessDao {

	public boolean addA() throws Exception {
		return Connected.getJdbcHandler().update(
				"insert into t_business (uuid,content) values(UUID(),?)",
				new Object[] { "123" });
	}

	public boolean addB() throws Exception {
		return Connected.getJdbcHandler().update(
				"insert into t_business (uuid,content) values(UUID(),?,?)",
				new Object[] { "456" });
	}

}
